/**   
*  This file is part of WaterfallDisplay.
    
*  WaterfallDisplay is free software: you can redistribute it and/or modify   
*  it under the terms of the GNU General Public License as published by   
*  the Free Software Foundation, either version 3 of the License, or   
*  (at your option) any later version.
     
*  WaterfallDisplay is distributed in the hope that it will be useful,   
*  but WITHOUT ANY WARRANTY; without even the implied warranty of   
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   
*  GNU General Public License for more details.
   
*  See <http://www.gnu.org/licenses/>.

*/  
package waterfall;

/**
 * A class for overlay texts on the image
 *  
 * @author altug.uzunali
 *
 */
public class OverlayText {
	private String overlayText;
	private int x;
	private int y;
	
	public OverlayText(String overlayText, int x, int y){
		this.overlayText = overlayText;
		this.x = x;
		this.y = y;
	}

	public OverlayText(String overlayText, double x, double y) {
		this.overlayText = overlayText;
		this.x = (int) x;
		this.y = (int) y;
	}

	public String getText() {
		return overlayText;
	}

	public int getX() {
		return x;
	}

	public int getY() {
		return y;
	}

	public void setText(String text) {
		this.overlayText = text;
	}

	public void setX(int x) {
		this.x = x;
	}

	public void setY(int y) {
		this.y = y;
	}
	
}
